<?php

/**
 * This is the model class for Login Form.
 * 
 * @author Tuan Nguyen <nganhtuan63@gmail.com>
 * @version 1.0
 * @package cms.models.user
 *
 */
class FormBuynow extends CFormModel {

    public $object_id;
    public $qty;

    public function rules() {
        return array(
            // username and password are required
            array('object_id, qty', 'required'),
        );
    }

    public function attributeLabels() {
        return array(
            'object_id' => t('cms', 'Mã sp'),
        );
    }

}
